home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ansi / hercules.zip / HERCMAKE.ATT < prev    next >
Text File  |  1986-09-04  |  824b  |  39 lines

  1.  
  2. # Makefile for HERCBIOS.COM
  3. SRC=hercbios gchar graph
  4. DEST=a:
  5.  
  6. hercbios.com : hercbios.obj gchar.obj graph.obj
  7.     link hercbios gchar graph,,/MAP;
  8.     exe2bin  hercbios.exe  hercbios.com
  9.     del hercbios.exe
  10.  
  11. hercbios.obj : hercbios.asm hercbios.h
  12. gchar.obj : gchar.asm hercbios.h
  13. graph.obj : graph.asm hercbios.h
  14.  
  15.  
  16. # Makes for the demo & test program, using deSmet C
  17.  
  18. testpix.exe : testpix.o hercpixl.o
  19.     bind testpix hercpixl
  20.  
  21. testpix.o : testpix.c
  22.     c88 testpix
  23.  
  24. hercpixl.o : hercpixl.c
  25.     c88 hercpixl
  26.  
  27. # Make a backup or distribution disk
  28. backup :
  29.     for %f in ($(SRC)) do  copy %f.asm $(DEST)
  30.     copy hercbios.h   $(DEST)
  31.     copy hercbios.com $(DEST)
  32.     copy hercbios.doc $(DEST)
  33.     copy makefile $(DEST)
  34.  
  35. distrib :
  36.     make backup
  37.     copy hercpixl.c $(DEST)
  38.     copy testpix.* $(DEST)
  39.     copy hcharset.* $(DEST)